google.golang.org/grpc/internal/channelz.channelMap.topLevelChannels (field)
7 uses
google.golang.org/grpc/internal/channelz (current package)
funcs.go#L123: topLevelChannels, servers, channels, subChannels, listenSockets, normalSockets := len(cm.topLevelChannels), len(cm.servers), len(cm.channels), len(cm.subChannels), len(cm.listenSockets), len(cm.normalSockets)
funcs.go#L362: topLevelChannels map[int64]struct{}
funcs.go#L372: topLevelChannels: make(map[int64]struct{}),
funcs.go#L394: c.topLevelChannels[id] = struct{}{}
funcs.go#L485: delete(c.topLevelChannels, id)
funcs.go#L557: l := int64(len(c.topLevelChannels))
funcs.go#L561: for k := range c.topLevelChannels {